package com.mvc.service;

import com.mvc.beans.Admin;

/**
 * @author a1926
 */
public interface LoginService {


    /**
     * 检查登录结果
     * @param admin
     * @return 返回登录结果
     */
    public Boolean loginCheck(Admin admin);


    /**
     * 检查注册结果
     * @param admin
     * @return 返回账号
     */
    public Integer addAdmin(Admin admin);
}
